import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 根据ID删除hr
 * /hr/one/{id}
 */
export function deleteHrOneById(params: DeleteHrOneByIdParams) {
  return request.delete<DeepRequired<ResultVoid>>(`/hr/one/${params.id}`)
}

interface DeleteHrOneByIdParams {
  id: number
}
